#ifndef __NUMBER_H__
  #define __NUMBER_H__

#include <string>

using namespace std;

//! Number representation in different languages

/*!
This class converts number to their equal form in other languages like persian.

Implementation date: 2007

Usage:

\code
wchar_t buffer[64] = { L"\0" };
number::to_persian("3.141592", buffer);
number::to_german("3.141592", buffer);
number::to_arabic("3.141592", buffer);
\endcode
*/

class number {
private:

public:
  //! converts the given number to its persian equivalent
  static void to_persian(const char *input, wchar_t *output, bool separator = false);

  //! converts the given number to its arabic equivalent
  static void to_arabic(const char *input, wchar_t *output, bool separator = false);

  //! converts the given number to its german equivalent
  static void to_german(const char *input, wchar_t *output, bool separator = false);

}; // class number

#endif
